-- GENERATED SPELL FOR [Kurzen Headshrinker] --


function spell0_941(pUnit, Event) --@Shadow Bolt,n/a--
pUnit:FullCastSpellOnTarget(9613,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_941', 3000, 1)
end

function spell1_941(pUnit, Event) --@Shrink,n/a--
pUnit:FullCastSpellOnTarget(7289,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_941', 3000, 1)
end

function Sorts_941(pUnit, Event)
local choix_sorts_941 = math.random(0, 1)
if choix_sorts_941 == 0 then
pUnit:RegisterEvent('spell0_941', 1, 1)
end
if choix_sorts_941 == 1 then
pUnit:RegisterEvent('spell1_941', 1, 1)
end
end

function mob941_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_941', math.random(1500, 3000), 1)
end

function mob941_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob941_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob941_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(941, 1, 'mob941_Action')
RegisterUnitEvent(941, 2, 'mob941_Leave')
RegisterUnitEvent(941, 3, 'mob941_Kill')
RegisterUnitEvent(941, 4, 'mob941_Die')
